<?php /*a:5:{s:61:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/member/index.vue";i:1690939510;s:59:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/meta.vue";i:1691032692;s:59:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/main.vue";i:1690877708;s:61:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/header.vue";i:1690970148;s:61:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/footer.vue";i:1690447758;}*/ ?>
<html lang="zh-cn"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo get_config('site_name'); ?> - 后台管理</title>
    <link rel="stylesheet" type="text/css" href="/static/css/layui.css" /><link rel="stylesheet" type="text/css" href="/static/css/bootstrap.css" /><link rel="stylesheet" type="text/css" href="/static/css/mian.css" /><script type="text/javascript" src="/static/js/jquery.min.js"></script><script type="text/javascript" src="/static/js/bootstrap.bundle.min.js"></script><script type="text/javascript" src="/static/js/layui.js"></script> <link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/c/font_4112823_w668vgmca4.css" />
    </head>
    
    <body class="body">
        <div>
            <div class="common-layout min-w-[1200px]">
                <section class="el-container w-100 h-screen">
                    <!--侧边栏开始-->
                    <aside class="el-aside h-screen layout-aside w-auto bright">
    <section class="el-container is-vertical w-100 h-screen sidebar-brightness-mode hidden-xs-only">
        <header class="el-header logo-wrap w-100">
            <div class="logo flex items-center m-auto max-w-[210px] h-[30px]">
                <img class="max-w-full" style="height: 32px;"  src="/static/images/logo.png" alt="<?php echo get_config('site_name'); ?>"></div>
        </header>
        <main class="el-main menu-wrap">
            <div class="el-scrollbar">
                <div class="el-scrollbar__wrap el-scrollbar__wrap--hidden-default">
                    <div class="el-scrollbar__view" style="">
                        <ul role="menubar" class="el-menu el-menu--vertical aside-menu h-full" style="--el-menu-level: 0;">
                            <li class="el-menu-item <?php if(app('request')->controller()=='Index'): ?>is-active<?php endif; ?>">
                               <div class="w-[16px] h-[16px] relative flex justify-center">
                                     <a href="/admin">
                                    
                                </div>
                               <div class="relative">
                                    <span class="ml-[10px] text-[15px]">控制台</span>
                                    </div>
                              </a>
                            </li>
                            <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li class="el-sub-menu">
                                <div class="el-sub-menu__title" data-bs-toggle="collapse" href="#collapseExample<?php echo htmlentities($vo['id']); ?>" role="button" aria-expanded="false" aria-controls="collapseExample">
                                    <div class="w-[16px] h-[16px] relative flex items-center">
                                        <i class="el-icon icon el-icon absolute !w-auto" style="color: var(--color); font-size: 16px;">
                                             <i class="iconfont  <?php echo htmlentities($vo['icon']); ?>"></i>
                                        </i>
                                    </div>
                                    <span class="ml-[10px] text-[15px]"><?php echo htmlentities($vo['name']); ?></span>
                                    <i class="el-icon el-sub-menu__icon-arrow" style="transform: none;">
                                        <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                            <path fill="currentColor" d="M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"></path>
                                        </svg>
                                    </i>
                                </div>
                                <ul id="collapseExample<?php echo htmlentities($vo['id']); ?>" class="el-menu el-menu--inline collapse <?php echo menu_shou(app('request')->controller(),$vo['id']); ?>">
                                    <?php $var = $vo['id']; $list_where = "parentid=$var and status=1";$list_db_info = think\facade\Db::table('qh_app_menu')->field('')->where($list_where)->order('id DESC')->limit(10)->order('id DESC')->select(); if(is_array($list_db_info) || $list_db_info instanceof \think\Collection || $list_db_info instanceof \think\Paginator): $i = 0; $__LIST__ = $list_db_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;if(app_role_priv($data['m'],$data['c'],$data['a'])): ?>
                                    <li class="el-menu-item <?php if(app('request')->controller()==$data['c']): ?>is-active<?php endif; ?>">
                                      <a href="<?php echo url(''.$data['c'].'/'.$data['a'].''); ?>">
                                        <span class="text-[14px] ml-[40px]"><?php echo htmlentities($data['name']); ?></span></a></li>
                                   <?php endif; ?>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul>
                            </li>
                             <?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                        <div class="h-[48px]"></div>
                    </div>
                </div>
                
            </div>
        </main>
    </section>
</aside>
                    <!--侧边栏结束-->
                    <section class="el-container is-vertical">
                        <!--顶部-->
                        <header class="el-header">
    <section class="el-container h-full px-[10px] layout-header border-b border-color" style="border-bottom-style: solid;border-color: #e5e7eb;">
        <div class="el-row w-100 h-full w-full">
            <div class="el-col el-col-12">
                <div class="left-panel h-full flex items-center">
                    <!--刷新-->
                    <div class="navbar-item flex items-center h-full cursor-pointer" onclick="refresh()">
                        <i class="el-icon icon el-icon" style="color: var(--color); font-size: 16px;">
                            <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                <path fill="currentColor" d="M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"></path>
                            </svg>
                        </i>
                    </div>
                    <!--刷新-->
                    <div class="flex items-center h-full pl-[10px] hidden-xs-only">
                        <div class="el-breadcrumb" aria-label="Breadcrumb" role="navigation">
                            <span class="el-breadcrumb__item" aria-current="page">
                                <span class="el-breadcrumb__inner" role="link">控制台</span>
                                <span class="el-breadcrumb__separator" role="presentation">/</span>
                                <span class="el-breadcrumb__inner" role="link"><?php echo getmenuname(app('request')->controller()); ?></span>
                                </span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="el-col el-col-12">
                <div class="right-panel h-full flex items-center justify-end">
                    
                    <div class="navbar-item flex items-center h-full cursor-pointer">
                        <div class="el-dropdown">
                            <div class="userinfo flex h-full items-center dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
                                <span class="el-avatar el-avatar--icon el-avatar--circle" style="--el-avatar-size: 25px;">
                                    <i class="el-icon">
                                        <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                            <path fill="currentColor" d="M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0zm544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"></path>
                                        </svg>
                                    </i>
                                </span>
                                <div class="user-name pl-[8px]"><?php echo htmlentities($admin['rolename']); ?></div></div>
                            <!--菜单开始-->
                            <div class="el-popper is-pure is-light dropdown-menu">
                                <div class="el-scrollbar">
                                    <div class="el-scrollbar__wrap el-scrollbar__wrap--hidden-default">
                                        <div class="el-scrollbar__view el-dropdown__list" style="">
                                            <ul class="el-dropdown-menu">
                                                <li class="el-dropdown-menu__item">
                                                    <a data-height="340" data-class="modal-dialog-centered" data-toggle="RefreshModal" data-remote="<?php echo url('admin/index/password'); ?>">修改密码</a></li>
                                                <li class="el-dropdown-menu__item">
                                                    <a onclick="clear_del(this,'<?php echo url('admin/index/clear_chache'); ?>','确定清空缓存吗')">清除缓存</a></li>
                                                <li class="el-dropdown-menu__item"><a href="<?php echo url('admin/index/laout'); ?>">退出登录</a></li></ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!--菜单结束--></div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</header>
                        <!--顶部结束-->
                        <main class="el-main main-wrap h-full p-0">
                            <div class="el-scrollbar">
                                <div class="el-scrollbar__wrap el-scrollbar__wrap--hidden-default">
                                    <div class="el-scrollbar__view" style="">
                                        <div class="p-[10px]">
                                            <div class="main-container">
                                              <form method="post" onsubmit="return post_del(this,'<?php echo url('dels'); ?>','确定要删除所选项目吗？')">
                                               <div class="el-card is-never-shadow box-card !border-none">
                                                    <div class="el-card__body" style="">
                                                        <div class="flex justify-between items-center">
                                                            <span class="text-[20px]"><?php echo getmenuname(app('request')->controller()); ?></span>
                                                            <button  class="el-button el-button--primary w-[100px]"  type="submit">删除选中</button>
                                                            </div>
                                                        <button data-height="340" data-class="modal-dialog-centered" data-toggle="RefreshModal" data-remote="<?php echo url('add'); ?>"  class="w-[100px]  mt-3 el-button el-button--primary" type="button">添加用户</button>  
                                                        <button data-height="340" data-class="modal-dialog-centered" data-toggle="RefreshModal" data-remote="<?php echo url('recharge'); ?>"  class="w-[100px]  mt-3 el-button el-button--success" type="button">积分金额操作</button>
                                                        <div class="mt-[20px]">
                                                            <div class="el-table--fit  el-table ">
                                                                <div class="el-table__inner-wrapper">
                                                                    <div class="el-table__header-wrapper">
                                                                        <table class="el-table__header">
                                                                            <thead>
                                                                                <tr class="text-c">
                                                                                <th width="45"><input class="form-check-input" type="checkbox" onclick="cz(this)" /></th>
                                                                                <th class="text-l">用户名</th>
                                                                                <th class="text-l">邮箱</th>
                                                                                <th>用户组</th>
                                                                                <th>最后登录时间</th>
                                                                                <th>登录次数</th>
                                                                                <th>账户余额</th>
                                                                                <th>积分</th>
                                                                                <th>状态</th>
                                                                                <th width="200">操作</th></tr>
                                                                            </thead>
                                                                            <tbody>
                                                                                 <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?>
                                                                                <tr class="text-d">
                                                                                    <td><input class="form-check-input" name="fx[]" type="checkbox" value="<?php echo htmlentities($data['userid']); ?>"></td>
                                                                                    <td class="text-l"><?php echo htmlentities($data['username']); ?></td>
                                                                                    <td class="text-l"><?php echo htmlentities($data['email']); ?></td>
                                                                                    <td><?php echo get_groupinfo($data['groupid'],'name'); ?></td>
                                                                                    <td><?php echo date("Y-m-d H:i:s",$data['lastdate']); ?></td>
                                                                                    <td><?php echo htmlentities($data['loginnum']); ?></td>
                                                                                    <td><?php echo htmlentities($data['amount']); ?></td>
                                                                                    <td><?php echo htmlentities($data['point']); ?></td>
                                                                                    <td>
                                                                                        <?php if($data['status']==0): ?><span class="el-tag">待审核</span><?php endif; if($data['status']==1): ?><span class="el-tag">通过</span><?php endif; if($data['status']==2): ?><span class="el-tag el-tag--danger">锁定</span><?php endif; if($data['status']==3): ?><span class="el-tag el-tag--danger">拒绝</span><?php endif; ?>
                                                                                    </td>
                                                                                    <td>
                                                                                <button data-height="340" data-class="modal-dialog-centered" data-toggle="RefreshModal" data-remote="<?php echo url('edit',['userid'=>$data['userid']]); ?>"  type="button" class="el-button--mini el-button el-button--primary">编辑</button>
                                                                            <button onclick="post_del(this,'<?php echo url('del',['userid'=>$data['userid']]); ?>','确定要删除吗？')"  type="button" class="el-button--mini el-button el-button--danger ">删除</button></td>
                                                                                <?php endforeach; endif; else: echo "" ;endif; ?>
                                                                            </tbody>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                               </form>
                                            </div>
                                           
                                        </div>
                                       <?php echo $list; ?>
                                    </div>
                                </div>
                            </div>
                        </main>
                    </section>
                </section>
            </div>
        </div><script type="text/javascript">
 window._win = {}
</script>
<script type="text/javascript" src="/static/js/mian.js"></script></body>

</html>